package com.qf.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;

/**
 * (Doctor)表实体类
 *
 * @author makejava
 * @since 2024-11-08 10:32:16
 */
@SuppressWarnings("serial")
@Data
@ApiModel(description = "医生实体类")
@TableName("doctor")
public class Doctor extends Model<Doctor> {

    //医生唯一标识符
    @ApiModelProperty(name="id", value="医生id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    //封面
    @ApiModelProperty(name="coverImg", value="封面")
    private String coverImg;

    //医生名称
    @ApiModelProperty(name="doctorName", value="医生名称")
    private String doctorName;

    //关联的用户ID
    @ApiModelProperty(name="userId", value="用户id")
    private Integer userId;

    //专长
    @ApiModelProperty(name="special", value="专长")
    private String special;

    //职业许可证号码
    @ApiModelProperty(name="number", value="职业许可证号码")
    private String number;

    //从业经验年数
    @ApiModelProperty(name="years", value="从业经验年数")
    private Integer years;

    //所属团队
    @ApiModelProperty(name="team_id", value="所属团队")
    private Integer teamId;



    //简介
    @ApiModelProperty(name="introduce", value="简介")
    private String introduce;

    //签约人数
    @ApiModelProperty(name="signNum", value="签约人数")
    private Integer signNum;

    //状态
    @ApiModelProperty(name="state", value="状态")
    private Integer state;

    }

